=========================================================================
=      4x4 Evolution SMF files import/export for Zanoza Modeler         =
=                                by Oleg M. last updated: 26.nov.2001   =
=========================================================================

This filter is for ZModeler v1.0bb and higher.

========================
0. What's new
    Skim to paragraph 8 for EVO2 innovations.

========================
1. Installing the filter
	To install the filter you must copy SMF.ZMF file into Filters\
subfolder (create it if it doesn't exist).

========================
2. Importing Meshes
    It is recommended that you separate the files from game to temporary
folder, since you might damage/rewrite original files by mistake.
    The directories structure should be remained:
ART\
    some ACT, RAW and OPA files
MODEL\
    some SMF files
TRUCK\
    (optional)

2.1 Neccessary files.
    When importing geometry, the SMF files is used as a source of meshes,
the ACT, RAW and OPA are used to produce TGA file. This TGA file will be
automatically generated in MODEL\ folder, and will be used farther.
objects: vpauditt_whl0.mtx stores offset for WHL0 object. These files are
required, since otherwize the geometry will lose offsets.

2.2 Importing
    Hit Import button in ZModeler and chose the desired SMF file. All the
objects will be imported and mapped to proper textures.
    Noticeable, that SMF fileter creates two materials for each texture:
"Textured material ?????????.tga tr" and "Textured material ?????????.tga op"
that stands for Transparent and opaque accordingly.


===========================
3. Editing meshes.
    First of all I strongly recommend to download tutorial on "how to create cars in
ZModeler" at http://www.zmodeler.boom.ru
    Second, you should remember the following:
	-----------------------
    4x4 USES NAMES TO DESTINGISH OBJECTS AND MIGHT CRASH IF UNKNOWN OBJECT NAME IS
	FOUND. SO, THE KNOWN OBJECTS ARE LISTED BELOW. ALSO, YOU SHOULD USE ONE TEXTURE
	FOR A SMF FILE. THIS IS NO WAY CHECKED AND NO MESSAGES WILL BE DISPLAYED, IF MORE
	THAN ONE TEXTURE OCCURED. SO, BE ACCURATE.
	-----------------------
    The known objects are:
  OPAQUE,
  OPAQUEL,
  TRANSP,
  TRANSPE,
  TRANSPI,
  TRANSPL,
  ANTENNA,
  AXLEF*,
  AXLER*
  BEDCOVR,
  BODY*,
  BUGSHLD,
  BUMPERF*,
  BUMPERR*,
  BUSHBAR,
  CLADFR,
  CLADLT,
  CLADRR,
  CLADRT,
  COCKPIT*,
  DRIVER,
  FFLARES,
  FOGB1,
  FOGB2,
  FOGB3,
  FOGB4,
  FOGR1,
  FOGR2,
  FOGR3,
  FOGR4,
  GLASSE*,
  GLASSI*,
  HELMET,
  HSCOOP,
  LIGHTBC*,
  LIGHTBL*,
  LIGHTBR*,
  LIGHTFL*,
  LIGHTFR*,
  LIGHTHL*,
  LIGHTHR*,
  LIGHTRL*,
  LIGHTRR*,
  LPLATE,
  MIRRORL*,
  MIRRORR*,
  MUDFLPS,
  RFRACK*,
  ROLLBR1,
  ROLLBR2,
  SKID,
  SNORKEL,
  SPARE,
  SPARE2,
  STEPS*,
  SUPPORT,
  UNDBODY*,
  VISOR,
  WINCH,
  WIPERLT*,
  WIPERRR*,
  WIPERRT*,
  XHAUST,
  TIRE,
  WHEEL

  

========================
4. Export SMF files
    Hit Export button. Choose a filetype in droplist ("4x4 Evolution SMF files") and
choose object to overwrite. NOTE: if you type file name manually.
    When exporting a low-detailed file you should add "L" symbold in all object names
(BODY->BODYL, GLASSE->GLASSEL, etc.) Also, the filename should be mytruck0.smf (where
mytruck is your trucks' name: same as the high-detailed).
    Noticeable, that textures MUST BE 512x512 for high-detailed SMF file and 256x256 for
low-detailed SMF file. Otherwize, EVO1 will show them screwed.


=================================
6	Lunching the game
    Adjust your truck file in TRUCK\ folder.
    Copy SMF files from MODEL\ folder to game MODEL\ folder, all files from ART\ to
game ART\ and mytruck.trk from TRUCK\ to game TRUCK\ folder.
    Lunch the game and.... hope evrything is ok=)


========================
7. Background and notes.

First of all: Use at your own risk.

The ZModeler is NOT the 4x4 EVO truckseditor. ;)
All neccessary documentaion and tutorials on ZModeler are available at ZModelers' home page.


=======================
8. EVO2 filter update

    This version of filter supports EVO2 SMF files. When importing or exporting the file,
you are asked for the version of the file, since SMF doesn't contain a version indicator.
EVO uses TIF textures and filters tries to find these textures in the same folder as the
mesh. If texture is missing, filter will try to load the same texture but with TGA ext. So,
if you have problems loading TIF files, convert them to TGA format and remove TIFs from the
folder. Once car is ready, convert your TGA textures into TIF.
    EVO2 exporter doesn't uses names of the objects to find out whether object has environ
mapping and/or transparency. For environ, it checks face's "No blending" (or "no chrome")
flag. For transparency it determines material's transparency mode (Unused or Glowing instead
of Opaque and Transparent respectively).


=======================
!!!!!!!!!!!!!!!!!!!!!!!
I don't convert or fix any cars!!! Don't even ask me to Convert/Make/Fix any car or any
part of it.  Big e-mails (more than 200k) are not downloaded and deleted from mail server,
if you haven't prior permission for sending big attachments.

All tech support on ZModeler is mostly described in ZModeler full documentation. Any other
questions about ZModeler can be posted at ZModelers' forum.


4x4 Evolution (c) Terminal Reality.

Commercial use of ZModeler is prohibited.

========================
Tech Support, developer: <funspeed@softhome.net>
ZModelers' WEB page:      www.zmodeler.com

Zanoza Modeler (c) Oleg M. 1999-2001
